/**
 * Created by zi on 2017/4/22.
 */
// 移动端去除默认样式
import '../../common/style/reset_7043.css'
import Vue from 'vue'
import axios from 'axios'
import FastClick from 'fastclick'
import register from './register.vue'

if ('addEventListener' in document) {
  document.addEventListener('DOMContentLoaded', function() {
    FastClick.attach(document.body);
  }, false);
}

Vue.config.productionTip = false
Vue.prototype.$http = axios

/* eslint-disable no-new */
new Vue({
  el: '#register',
  template: '<register />',
  components: { register },
  data: {
    eventHub: new Vue()  // 事件(中心)枢纽
  }
})
